package com.sun.module_home.impl

import androidx.compose.runtime.Composable
import androidx.navigation.NavHostController
import com.google.auto.service.AutoService
import com.sun.module_common.serviceinterface.home.SquareService
import com.sun.module_home.ui.square.SquareScreen

/**
 *@author:sunc
 *@time :2025/8/1 14:49
 *@desc: 广场
 */
@AutoService( SquareService::class)
class  SquareServiceImpl:  SquareService {
    override fun getService(navCtrl: NavHostController): @Composable () -> Unit {
        return { SquareScreen()}
    }

//    override fun getDetailsService(navCtrl: NavHostController,feed: Article?, onBack: () -> Unit): @Composable (() -> Unit) {
//        return { DetailScreen() }
//    }
}